package com.woniuxy.automotivemanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.automotivemanagementsystem.entity.User;
import com.woniuxy.automotivemanagementsystem.entity.vo.UserVo;
import com.woniuxy.automotivemanagementsystem.utils.Result;

import java.util.List;

public interface UserService extends IService<User> {
    User login(String username, String password);

    Result register(String username, String password);

    Result queryCondition(UserVo vo);

    void updateUserRole(Integer[] rIds, User user);
}
